//
//  AddNewSignViewController.h
//  EMMApp
//
//  Created by Mac on 16/11/22.
//  Copyright © 2016年 YiXun. All rights reserved.
//

#import "EMMBaseViewController.h"
#import "GetSignedDetail.h"
#import "GetSubscribeDetail.h"
#import "GetPayDepositDetail.h"

@interface AddNewSignViewController : EMMBaseViewController

/**
 认筹详情
 */
@property (nonatomic, strong) GetPayDepositDetail *getPayDepositDetail;

/**
 认购详情
 */
@property (nonatomic, strong) GetSubscribeDetail *getSubscribeDetail;

/**
 签约详情
 */
@property (nonatomic, strong) GetSignedDetail *getSignedDetail;

/**
 客户Id
 */
@property (nonatomic, strong) NSString *customerId;

/**
 认筹ID
 */
@property (nonatomic, strong) NSString *payDepositId;

/**
 认筹编号
 */
@property (nonatomic, strong) NSString *payDepositCode;

/**
 认筹金
 */
@property (nonatomic, strong) NSString *payDepositMoney;

/**
 认筹房源Id
 */
@property (nonatomic, strong) NSString *rcRoomId;

/**
 认筹房源
 */
@property (nonatomic, strong) NSString *rcPayDepositHouses;

/**
 认购ID
 */
@property (nonatomic, strong) NSString *subscribeId;

/**
 认购编号
 */
@property (nonatomic, strong) NSString *subscribeCode;

/**
 认购金额
 */
@property (nonatomic, strong) NSString *subscribeAmount;

/**
 认筹房源Id
 */
@property (nonatomic, strong) NSString *rgRoomId;

/**
 认筹房源
 */
@property (nonatomic, strong) NSString *rgPayDepositHouses;

/**
 计价面积
 */
@property (nonatomic, strong) NSString *calculateArea;

/**
 折前单价
 */
@property (nonatomic, strong) NSString *discountPrice;

/**
 折前总价
 */
@property (nonatomic, strong) NSString *discountTotalPrice;

/**
 折扣金额
 */
@property (nonatomic, strong) NSString *discountAmount;

/**
 折扣比例
 */
@property (nonatomic, strong) NSString *discountRate;

/**
 折扣比例
 */
@property (nonatomic, strong) NSString *addDiscountRate;

/**
 是否折扣审批
 */
@property (nonatomic, strong) NSString *discountApproval;

/**
 折后总价
 */
@property (nonatomic, strong) NSString *discountAfterAmount;

/**
 付款方式
 */
@property (nonatomic, strong) NSString *paymentMethod;

/**
 方案类别
 */
@property (nonatomic, strong) NSString *floorType;

/**
 认筹转认购金额
 */
@property (nonatomic, strong) NSString *realAmount;

/**
 不为空标识 认筹 认购
 */
@property (nonatomic, strong) NSString *istpoy;

/**
 是否是新增还是编辑
 */
@property (nonatomic, assign) BOOL isAdd;

/**
 是否新增或者是编辑 0
 认筹有房1 无房0
 认购为1
 */
@property (nonatomic, assign) NSString *konString;

@property (nonatomic, strong) NSString *signedId;

/**
 signUpbook回调
 */
@property (nonatomic, strong) void(^signUpViewBlock)();

@property (nonatomic, strong) NSString<Optional> *busReturnType;  //业务返回类型： 0   无； 1 认筹； 2 认购
/**
 签约名称
 */
@property (nonatomic, strong) NSString *qyRoomName;

/**
 签约房源id
 */
@property (nonatomic, strong) NSString *qyRoomId;

/**
 签约单价
 */
@property (nonatomic, strong) NSString *contractPrice;

/**
 合同金额
 */
@property (nonatomic, strong) NSString *contractAmount;

/**
 *  功能描述：
 *  认购转签约跳转界面传值
 *  修改时间：2017年1月17
 *  修改人 ：wangguiping
 *  修改功能：认购转签约页，把经纪人信息（例如共同成交多个经纪人）带入签约申请页
 *  修改的字段：显示经纪人数组、成交类别、成交类别id、推荐人Id、推荐人名称、推荐人分佣
 */

/**
 根据选择成交类别 显示经纪人数组
 */
@property (nonatomic, strong) NSMutableArray *jJRDataArr;

/**
 成交类别
 */
@property (nonatomic, strong) NSString *dealCategory;

/**
 成交类别id
 */
@property (nonatomic, strong) NSString *dealCategoryId;

/**
 推荐人Id
 */
@property (nonatomic, strong) NSString *referenceId;

/**
 推荐人名称
 */
@property (nonatomic, strong) NSString *referenceName;

/**
 推荐人分佣
 */
@property (nonatomic, strong) NSString *referenceProportion;

/**
 *  描述：
 *  isTransaction 1表示从认购或者签约入口进入 不等于1表示从其他入口进入
 */
@property (nonatomic, strong) NSString *isTransaction;
// 是否是从房源详情页面进来的。
@property (nonatomic,assign) BOOL houseDetailTo;

@end
